package com.hllxd.hism.star.basic.service.service;

import com.hllxd.hism.framework.httprpc.service.NTSTATUS;
import com.hllxd.hism.framework.httprpc.service.PDRIVER_OBJECT;
import com.hllxd.hism.framework.httprpc.service.PRESULT_OBJECT;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * author: xiyong.lxy
 * date: 2020-10-12 16:51
 */
@Slf4j
@Service("technologyService")
public class TechnologyServiceImpl implements TechnologyService {

    @Data
    public static class Params {
        public Long groupID;
    }

    @Override
    public NTSTATUS list(PDRIVER_OBJECT params, PRESULT_OBJECT result) {
        log.info("request params: {}", params);
        Params aa = params.driverObject(Params.class);


        result.setData("success");

        return NTSTATUS.SUCCESS_STATUS();
    }
}
